package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class helloController {
    @RequestMapping("/hello")
    public String hello(){
        System.out.println("helloController1....");
        return "success";
    }

    @RequestMapping("/hello/*")
    public String hello1(){
        System.out.println("helloController2....");
        return "success";
    }
}
